	<div class="form-compile">
		<div class="model" style="display: none">${model}</div>
		<form class="layui-form" lay-filter="edit-form">
			<input type="hidden" name="deptId" />
			<div class="layui-form-item">
				<label class="layui-form-label required">机构名称</label>
				<div class="layui-input-inline">
					<input class="layui-input" type="text" name="deptName"
						placeholder="请输入机构名称">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label required">机构编码</label>
				<div class="layui-input-inline">
					<input class="layui-input url-input" type="text" name="deptCode"
						placeholder="请输入机构编码">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label required">父级机构</label>
				<div class="layui-input-inline">
					<ul id="deptTree" class="dtree" data-id="0" name="pid"></ul>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label required">机构类型</label>
				<div class="layui-input-inline">
					<select id="deptEditType" name="deptType" lay-verify="required"></select>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">排序</label>
				<div class="layui-input-inline">
					<input class="layui-input" type="text" name="sort"
						placeholder="请输入排序号">
				</div>
			</div>
			<div class="layui-form-item layui-form-text">
				<label class="layui-form-label">备注</label>
				<div class="layui-input-block">
					<textarea placeholder="请输入内容" class="layui-textarea" name="remark"></textarea>
				</div>
			</div>
			<div class="layui-form-item form-finally">
				<button type="button" class="layui-btn" lay-submit="" lay-filter="edit-form" id="deptEditSave">保存</button>
				<button type="button" class="layui-btn" onclick="closePopup()">关闭</button>
			</div>
		</form>
	</div>
[@common.jsRef url="/sys/dept/editView.js"/]	